//@ sourceURL=MeetInforSituationForm.js
MeetInforSituationForm = Ext.extend(Ext.Window,
{
    constructor : function(a) {
        Ext.applyIf(this, a);
        this.initUIComponents();
        MeetInforSituationForm.superclass.constructor.call(this, {
            layout : "fit",
            id : this.inputFormName,
            items : yearGridFormPanel,
            modal : true,
            bodyStyle : "padding:2px;",
            buttonAlign : "center",
            buttons : yearGridFormButtons,
            title : "参会情况",
            iconCls : "menu-flowWait",
            width : 620,
            height : 450
        });
    },
    // 初始化数据
    initUIComponents : function() {
        createyeargridform({
            operation:this,
            form:{
                saveUrl: __ctxPath+"/safemeeting/saveMeetInformation.do",
                items:[
                {
                    id : "meetInformation.id",
                    name : "meetInformation.id",
                    xtype : "hidden",
                    value : this.id == null ? "": this.id
                }, {
                    name : "meetInformation.situationNo",
                    xtype : "hidden",
                    id : "meetInformation.situationNo",
                    value : this.situationNo == null ? "" : this.situationNo
                },{
                       layout:"form",
                       bodyStyle:"padding:5px;",
                       columnWidth:1.,
                       border:false,
                       items:[{
                       xtype:"textarea", 
                       fieldLabel: '会议内容', 
                       name: 'meetInformation.meetContent',
                       width : 448 
                       
                       }]
                   },{
                       layout:"form",
                       bodyStyle:"padding:5px;",
                       columnWidth:1.,
                       border:false,
                       items:[{
                       xtype:"textarea", 
                       fieldLabel: '会议总结', 
                       name: 'meetInformation.meetSummary',
                       width : 448 
                       
                       }]
                   },{
                       layout:"form",
                       bodyStyle:"padding:5px;",
                       columnWidth:1.,
                       border:false,
                       items:[{
                       xtype:"textarea", 
                       fieldLabel: '会议精神', 
                       name: 'meetInformation.meetSpirit',
                       width : 448 
                       
                       }]
                   }]
            },
            loadData:{
                getUrl:__ctxPath +"/safemeeting/getMeetInformation.do",
                preName : "meetInformation"
            },
            isShow:this.isShow
        });
    }
    });
